<?php
function smarty_compiler_arnd($tag_attrs, &$compiler)
{
    $_params = $compiler->_parse_attrs($tag_attrs);
		
    return "\$this->assign({$_params['var']}, rand({$_params['min']},{$_params['max']}));";
}

